package com.ruoyi.reportsnhnt.domain.vo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.utils.BigDecimalUtil;
import com.ruoyi.report_tg.domain.vo.ExcelGeneralVo;
import com.ruoyi.reportsnhnt.domain.ReportSnhntBhwmslBaDetail;
import lombok.Data;
import java.util.Date;
import java.util.List;


/**
 * 水泥混凝土拌合物泌水率试验检测记录视图对象 report_snhnt_bhwmsl_bs_info
 *
 * @author zxs
 * @date 2024-06-21
 */
@Data
@ExcelIgnoreUnannotated
public class ReportSnhntBhwmslBsInfoVo extends ExcelGeneralVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long excelId;

    /**
     * 第几页
     */
    @ExcelProperty(value = "第几页")
    private Long page;

    /**
     * 共几页
     */
    @ExcelProperty(value = "共几页")
    private Long totalPage;

    /**
     * 检测单位名称
     */
    @ExcelProperty(value = "检测单位名称")
    private String jiancdwmc;

    /**
     * 记录编号
     */
    @ExcelProperty(value = "记录编号")
    private String jilbh;

    /**
     * 工程名称
     */
    @ExcelProperty(value = "工程名称")
    private String gongcmc;

    /**
     * 工程部位/用途
     */
    @ExcelProperty(value = "工程部位/用途")
    private String gongcbwyt;

    /**
     * 样品信息
     */
    @ExcelProperty(value = "样品信息")
    private String yangpxx;

    /**
     * 样品名称
     */
    @ExcelProperty(value = "样品名称")
    private String yangpmc;

    /**
     * 样品编号
     */
    @ExcelProperty(value = "样品编号")
    private String yangpbh;

    /**
     * 样品数量
     */
    @ExcelProperty(value = "样品数量")
    private String yangpsl;

    /**
     * 样品状态
     */
    @ExcelProperty(value = "样品状态")
    private String yangpzt;

    /**
     * 来样时间
     */
    @ExcelProperty(value = "来样时间")
    private Date laiysj;

    /**
     * 试验检测日期
     */
    @ExcelProperty(value = "试验检测日期")
    private String shiyjcrq;

    /**
     * 试验条件
     */
    @ExcelProperty(value = "试验条件")
    private String shiytj;

    /**
     * 温度
     */
    @ExcelProperty(value = "温度")
    private String wend;

    /**
     * 相对湿度
     */
    @ExcelProperty(value = "相对湿度")
    private String xiangdsd;

    /**
     * 检测依据
     */
    @ExcelProperty(value = "检测依据")
    private String jiancyj;

    /**
     * 判定依据
     */
    @ExcelProperty(value = "判定依据")
    private String pandyj;

    /**
     * 主要仪器设备名称及编号
     */
    @ExcelProperty(value = "主要仪器设备名称及编号")
    private String zhuyyqsbmcjbh;

    /**
     * 设备id(逗号隔开)
     */
    @ExcelProperty(value = "设备id(逗号隔开)")
    private String shebIds;

    /**
     * 附加声明
     */
    @ExcelProperty(value = "附加声明")
    private String fujsm;

    /**
     * 检测
     */
    @ExcelProperty(value = "检测")
    private String jianc;

    /**
     * 记录
     */
    @ExcelProperty(value = "记录")
    private String jil;

    /**
     * 复核
     */
    @ExcelProperty(value = "复核")
    private String fuh;

    /**
     * 日期
     */
    @ExcelProperty(value = "日期")
    private Date riq;

    /**
     * 开始试验加水时间(h：min)
     */
    @ExcelProperty(value = "开始试验加水时间(h：min)")
    private Date kaissyjssj;

    /**
     * 搅拌方式
     */
    @ExcelProperty(value = "搅拌方式")
    private String jiaobfs;

    /**
     * 吸水累计总量1(mL)
     */
    @ExcelProperty(value = "吸水累计总量1(mL)")
    private BigDecimal xisljzl1;
    public void setXisljzl1(BigDecimal xisljzl1){
        this.xisljzl1 = BigDecimalUtil.stpTrailZero(xisljzl1);;
    }

    /**
     * 吸水累计总量2(mL)
     */
    @ExcelProperty(value = "吸水累计总量2(mL)")
    private BigDecimal xisljzl2;
    public void setXisljzl2(BigDecimal xisljzl2){
        this.xisljzl2 = BigDecimalUtil.stpTrailZero(xisljzl2);;
    }

    /**
     * 吸水累计总量3(mL)
     */
    @ExcelProperty(value = "吸水累计总量3(mL)")
    private BigDecimal xisljzl3;
    public void setXisljzl3(BigDecimal xisljzl3){
        this.xisljzl3 = BigDecimalUtil.stpTrailZero(xisljzl3);;
    }

    /**
     * 试件外露表面面积(mm2)
     */
    @ExcelProperty(value = "试件外露表面面积(mm2)")
    private BigDecimal shijwlbmmj;
    public void setShijwlbmmj(BigDecimal shijwlbmmj){
        this.shijwlbmmj = BigDecimalUtil.stpTrailZero(shijwlbmmj);;
    }

    /**
     * 泌水量(ml/mm2)
     */
    @ExcelProperty(value = "泌水量(ml/mm2)")
    private BigDecimal misl1;
    public void setMisl1(BigDecimal misl1){
        this.misl1 = BigDecimalUtil.stpTrailZero(misl1);;
    }

    /**
     * 泌水量(ml/mm2)
     */
    @ExcelProperty(value = "泌水量(ml/mm2)")
    private BigDecimal misl2;
    public void setMisl2(BigDecimal misl2){
        this.misl2 = BigDecimalUtil.stpTrailZero(misl2);;
    }

    /**
     * 泌水量(ml/mm2)
     */
    @ExcelProperty(value = "泌水量(ml/mm2)")
    private BigDecimal misl3;
    public void setMisl3(BigDecimal misl3){
        this.misl3 = BigDecimalUtil.stpTrailZero(misl3);;
    }

    /**
     * 泌水量(ml/mm2)
     */
    @ExcelProperty(value = "泌水量(ml/mm2)")
    private BigDecimal mislpj;
    public void setMislpj(BigDecimal mislpj){
        this.mislpj = BigDecimalUtil.stpTrailZero(mislpj);;
    }

    /**
     * 试样筒质量(g)
     */
    @ExcelProperty(value = "试样筒质量(g)")
    private BigDecimal shiytzl1;
    public void setShiytzl1(BigDecimal shiytzl1){
        this.shiytzl1 = BigDecimalUtil.stpTrailZero(shiytzl1);
    }

    /**
     * 试样筒质量(g)
     */
    @ExcelProperty(value = "试样筒质量(g)")
    private BigDecimal shiytzl2;
    public void setShiytzl2(BigDecimal shiytzl2){
        this.shiytzl2 = BigDecimalUtil.stpTrailZero(shiytzl2);
    }

    /**
     * 试样筒质量(g)
     */
    @ExcelProperty(value = "试样筒质量(g)")
    private BigDecimal shiytzl3;
    public void setShiytzl3(BigDecimal shiytzl3){
        this.shiytzl3 = BigDecimalUtil.stpTrailZero(shiytzl3);
    }

    /**
     * 泌水前试样筒及试样
     */
    @ExcelProperty(value = "泌水前试样筒及试样")
    private BigDecimal misqsytjsy1;
    public void setMisqsytjsy1(BigDecimal misqsytjsy1){
        this.misqsytjsy1 = BigDecimalUtil.stpTrailZero(misqsytjsy1);
    }
    /**
     * 泌水前试样筒及试样2
     */
    @ExcelProperty(value = "泌水前试样筒及试样2")
    private BigDecimal misqsytjsy2;
    public void setMisqsytjsy2(BigDecimal misqsytjsy2){
        this.misqsytjsy2 = BigDecimalUtil.stpTrailZero(misqsytjsy2);
    }

    /**
     * 泌水前试样筒及试样3
     */
    @ExcelProperty(value = "泌水前试样筒及试样3")
    private BigDecimal misqsytjsy3;
    public void setMisqsytjsy3(BigDecimal misqsytjsy3){
        this.misqsytjsy3 = BigDecimalUtil.stpTrailZero(misqsytjsy3);
    }

    /**
     * 拌合物总质量(g)
     */
    @ExcelProperty(value = "拌合物总质量(g)")
    private BigDecimal banhwzzl;
    public void setBanhwzzl(BigDecimal banhwzzl){
        this.banhwzzl = BigDecimalUtil.stpTrailZero(banhwzzl);
    }

    /**
     * 拌合物所需总用水量(g)
     */
    @ExcelProperty(value = "拌合物所需总用水量(g)")
    private BigDecimal banhwsxzysl;
    public void setBanhwsxzysl(BigDecimal banhwsxzysl){
        this.banhwsxzysl = BigDecimalUtil.stpTrailZero(banhwsxzysl);
    }

    /**
     * 泌水率(ml/mm2)1
     */
    @ExcelProperty(value = "泌水率(ml/mm2)1")
    private BigDecimal mislv1;
    public void setMislv1(BigDecimal mislv1){
        this.mislv1 = BigDecimalUtil.stpTrailZero(mislv1);
    }

    /**
     * 泌水率2(ml/mm2)
     */
    @ExcelProperty(value = "泌水率2(ml/mm2)")
    private BigDecimal mislv2;
    public void setMislv2(BigDecimal mislv2){
        this.mislv2 = BigDecimalUtil.stpTrailZero(mislv2);
    }

    /**
     * 泌水率3(ml/mm2)
     */
    @ExcelProperty(value = "泌水率3(ml/mm2)")
    private BigDecimal mislv3;
    public void setMislv3(BigDecimal mislv3){
        this.mislv3 = BigDecimalUtil.stpTrailZero(mislv3);
    }

    /**
     * 泌水率平均值(ml/mm2)
     */
    @ExcelProperty(value = "泌水率平均值(ml/mm2)")
    private BigDecimal mislvpj;
    public void setMislvpj(BigDecimal mislvpj){
        this.mislvpj = BigDecimalUtil.stpTrailZero(mislvpj);
    }

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String beiz;

    private List<ReportSnhntBhwmslBaDetail> detailList;

    public ReportSnhntBhwmslBsInfoVo() {
        detailList = new ArrayList<>(12);
        for (int i = 0; i < 12; i++) {
            ReportSnhntBhwmslBaDetail detail = new ReportSnhntBhwmslBaDetail();
            detailList.add(detail);
        }
    }
}
